﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000519 RID: 1305
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FBHNOFKECKB : IMessage<FBHNOFKECKB>, IMessage, IEquatable<FBHNOFKECKB>, IDeepCloneable<FBHNOFKECKB>, IBufferMessage
	{
		// Token: 0x170010E6 RID: 4326
		// (get) Token: 0x06003B0B RID: 15115 RVA: 0x000A28F1 File Offset: 0x000A0AF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FBHNOFKECKB> Parser
		{
			get
			{
				return FBHNOFKECKB._parser;
			}
		}

		// Token: 0x170010E7 RID: 4327
		// (get) Token: 0x06003B0C RID: 15116 RVA: 0x000A28F8 File Offset: 0x000A0AF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FBHNOFKECKBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170010E8 RID: 4328
		// (get) Token: 0x06003B0D RID: 15117 RVA: 0x000A290A File Offset: 0x000A0B0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FBHNOFKECKB.Descriptor;
			}
		}

		// Token: 0x06003B0E RID: 15118 RVA: 0x000A2911 File Offset: 0x000A0B11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FBHNOFKECKB()
		{
		}

		// Token: 0x06003B0F RID: 15119 RVA: 0x000A2919 File Offset: 0x000A0B19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FBHNOFKECKB(FBHNOFKECKB other) : this()
		{
			this.updateScepterInfo_ = ((other.updateScepterInfo_ != null) ? other.updateScepterInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003B10 RID: 15120 RVA: 0x000A294E File Offset: 0x000A0B4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FBHNOFKECKB Clone()
		{
			return new FBHNOFKECKB(this);
		}

		// Token: 0x170010E9 RID: 4329
		// (get) Token: 0x06003B11 RID: 15121 RVA: 0x000A2956 File Offset: 0x000A0B56
		// (set) Token: 0x06003B12 RID: 15122 RVA: 0x000A295E File Offset: 0x000A0B5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicGameScepterInfo UpdateScepterInfo
		{
			get
			{
				return this.updateScepterInfo_;
			}
			set
			{
				this.updateScepterInfo_ = value;
			}
		}

		// Token: 0x06003B13 RID: 15123 RVA: 0x000A2967 File Offset: 0x000A0B67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FBHNOFKECKB);
		}

		// Token: 0x06003B14 RID: 15124 RVA: 0x000A2975 File Offset: 0x000A0B75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FBHNOFKECKB other)
		{
			return other != null && (other == this || (object.Equals(this.UpdateScepterInfo, other.UpdateScepterInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003B15 RID: 15125 RVA: 0x000A29A8 File Offset: 0x000A0BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.updateScepterInfo_ != null)
			{
				num ^= this.UpdateScepterInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003B16 RID: 15126 RVA: 0x000A29E4 File Offset: 0x000A0BE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003B17 RID: 15127 RVA: 0x000A29EC File Offset: 0x000A0BEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003B18 RID: 15128 RVA: 0x000A29F5 File Offset: 0x000A0BF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.updateScepterInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.UpdateScepterInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003B19 RID: 15129 RVA: 0x000A2A28 File Offset: 0x000A0C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.updateScepterInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.UpdateScepterInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003B1A RID: 15130 RVA: 0x000A2A68 File Offset: 0x000A0C68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FBHNOFKECKB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.updateScepterInfo_ != null)
			{
				if (this.updateScepterInfo_ == null)
				{
					this.UpdateScepterInfo = new RogueMagicGameScepterInfo();
				}
				this.UpdateScepterInfo.MergeFrom(other.UpdateScepterInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003B1B RID: 15131 RVA: 0x000A2ABC File Offset: 0x000A0CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003B1C RID: 15132 RVA: 0x000A2AC8 File Offset: 0x000A0CC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.updateScepterInfo_ == null)
					{
						this.UpdateScepterInfo = new RogueMagicGameScepterInfo();
					}
					input.ReadMessage(this.UpdateScepterInfo);
				}
			}
		}

		// Token: 0x0400173F RID: 5951
		private static readonly MessageParser<FBHNOFKECKB> _parser = new MessageParser<FBHNOFKECKB>(() => new FBHNOFKECKB());

		// Token: 0x04001740 RID: 5952
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001741 RID: 5953
		public const int UpdateScepterInfoFieldNumber = 14;

		// Token: 0x04001742 RID: 5954
		private RogueMagicGameScepterInfo updateScepterInfo_;
	}
}
